package lexico;

import java.util.ArrayList;
import tabla_simbolos.Campo;

public class Campodevuelto {
	/*Atributos*/
	private Campo campo;
	private ArrayList<String> pend;
	private int tam;
		
	/*Constructora*/
	public Campodevuelto(){
		this.pend=new ArrayList<String>();
	}

	public Campodevuelto(Campo cam, ArrayList<String> pend, int tamano) {
		this.campo=cam;
		this.pend=pend;
		this.tam=tamano;
	}

	/*Get&Set*/
	public void setCampo(Campo campo) {this.campo = campo;}
	public Campo getCampo() {return campo;}
	public void setPend(ArrayList<String> pend) {this.pend = pend;}
	public ArrayList<String> getPend() {return pend;}
	public void setTam(int tam) {this.tam = tam;}
	public int getTam() {return tam;}
	
}
